//
//  LevelConfig.m
//  Project5
//
//  Created by Nguyen Tan Loc on 5/29/13.
//  Copyright (c) 2013 Nguyen Tan Loc. All rights reserved.
//

#import "LevelConfig.h"

@implementation LevelConfig
@synthesize _gSpeed = m_gSpeed, _arrRateBullet = m_arrRateBullet, _arrCombo = m_arrCombo, _arrScore = m_arrScore, _gLevelName = m_gLevelName, _gMode = m_gMode, _gLimitNum = m_gLimitNum, _gLimitType = m_gLimitType, _arrIngre = m_arrIngre;

static LevelConfig *m_Instance = nil;

+(LevelConfig *) sharedLevelConfig
{
    if (m_Instance == nil)
        m_Instance = [[LevelConfig alloc] init];
    return m_Instance;
}

-(id) init
{
    if (self = [super init])
    {
        m_arrRateBullet = [[NSMutableArray alloc] init];
        m_arrCombo = [[NSMutableArray alloc] init];
        m_arrScore = [[NSMutableArray alloc] init];
        m_gSpeed = 1.0f;
    }
    return self;
}

-(void) loadLevel:(NSString *)path
{
    // reset all config
    [self resetConfig];
    
    
}

-(void) resetConfig
{
    
}

@end
